package softtech.apps.model;

public class Message {
	
	private int _id;
	private String _title;
	private String _content;
	private int _isDefault;
	
	public Message(){};
	
	public Message(int id, String title, String content, int isDefault){
		this._id = id;
		this._title = title;
		this._content = content;
		this._isDefault = isDefault;
		
	}
	
	public Message(Message msg){
		this._id = msg.get_id();
		this._title = msg.get_title();
		this._content = msg.get_content();
		this._isDefault = msg.get_isDefault();
	}
	
	public int get_id() {
		return _id;
	}
	public void set_id(int _id) {
		this._id = _id;
	}
	public String get_title() {
		return _title;
	}
	public void set_title(String _title) {
		this._title = _title;
	}
	public String get_content() {
		return _content;
	}
	public void set_content(String _content) {
		this._content = _content;
	}
	public int get_isDefault() {
		return _isDefault;
	}
	public void set_isDefault(int _isDefault) {
		this._isDefault = _isDefault;
	}
	
}
